package com.ll.app.api.req;

import com.ll.domain.ranking.enums.RankingTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AddRankingReqDTO {

    @NotNull(message = "teacher不能为null")
    @ApiModelProperty(value = "类型", example = "反曲")
    private RankingTypeEnum type;

    @NotNull(message = "type不能为null")
    @ApiModelProperty(value = "学生用户ID", example = "6015124")
    private Long  studentUid;

    @ApiModelProperty(value = "租户ID", example = "1")
    private Long tenantId;

}
